package com.ruoyi.activity.req;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;

/**
 * 账号对象 a_account
 *
 * @author wxc
 * @date 2024-05-29
 */
public class AccountReq extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 主键 */
    private Long id;
    /** 身份 */
    @NotBlank(message = "请选择身份")
    private String identity;

    /** 学校 */
    @NotBlank(message = "请输入学校")
    private String school;

    /** 姓名 */
    @NotBlank(message = "请输入姓名")
    private String realName;

    /** 报名组别 */
    @NotBlank(message = "请选择评选范围")
    private String signGroup;

    /** 账号 */
    @NotBlank(message = "请输入账号")
    private String accountName;

    /** 密码 */
    @NotBlank(message = "请输入密码")
    private String password;

    /** 是否删除 */
    private String isDeleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setIdentity(String identity)
    {
        this.identity = identity;
    }

    public String getIdentity()
    {
        return identity;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getRealName()
    {
        return realName;
    }
    public void setSignGroup(String signGroup)
    {
        this.signGroup = signGroup;
    }

    public String getSignGroup()
    {
        return signGroup;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setIsDeleted(String isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id",getId())
            .append("identity", getIdentity())
            .append("school", getSchool())
            .append("realName", getRealName())
            .append("signGroup", getSignGroup())
            .append("accountName", getAccountName())
            .append("password", getPassword())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
